﻿<!DOCTYPE html>
<html>
 <head> 
  <meta charset="UTF-8" /> 
  <title>编辑公众号</title> 
  <link rel="stylesheet" href="../../assets/js/layui/css/layui.css" media="all" />
  <link rel="stylesheet" href="../../assets/css/global.css" media="all">
  <link rel="stylesheet" href="../../assets/js/font-awesome/css/font-awesome.min.css">
 </head> 
 <body style="overflow:scroll"> 
     <div class="admin-main" dataload="/api/wechat/replycontent/get?id={id}" onfinishcallback="onDataLoadedCallback">
         <form class="layui-form" action="/api/wechat/replycontent/save">
             <input type="hidden" name="id" bindattr="id" />
             <div class="layui-form-item">
                 <label class="layui-form-label">id</label>
                 <div class="layui-input-block">
                     <input disabled="disabled" type="text" class="layui-input" readonly="readonly" bindattr="id" name="id" lay-verify="required" placeholder="" />
                 </div>
             </div>
             <div class="layui-form-item">
                 <label class="layui-form-label">公众号id</label>
                 <div class="layui-input-block">
                     <input type="text" class="layui-input" bindattr="wid" name="wid" lay-verify="required" placeholder="请输入公众号id" />
                     <b style="color:red">注意：如果录入-1代表全局模式，对所有公众号生效</b>
                 </div>

             </div>
             <div class="layui-form-item">
                 <label class="layui-form-label">公众号名称</label>
                 <div class="layui-input-block">
                     <input type="text" class="layui-input" readonly="readonly" bindattr="wname" name="wname" lay-verify="required" placeholder="" />
                 </div>
             </div>

             <div class="layui-form-item">
                 <label class="layui-form-label">匹配关键字</label>
                 <div class="layui-input-block">
                     <input type="text" class="layui-input" bindattr="keyWord" name="keyWord" lay-verify="required" placeholder="匹配关键字" />
                 </div>
             </div>

             <div class="layui-form-item">
                 <label class="layui-form-label">回复内容</label>

                 <div class="layui-input-block">
                     <textarea class="layui-textarea" bindattr="replyContent" id="replyContent" name="replyContent"></textarea>

                 </div>
             </div>



             <div class="layui-form-item">
                 <label class="layui-form-label">创建时间</label>
                 <div class="layui-input-block">
                     <input type="text" class="layui-input" disabled="disabled" bindattr="createTime" name="createTime" lay-verify="required" placeholder="创建时间" />
                 </div>
             </div>




             <div class="layui-form-item">
                 <div class="layui-input-block">
                     <input type="button" lay-submit="" lay-filter="save" class="layui-btn J_ajaxSubmit" value="保存" />
                     <input type="reset" class="layui-btn layui-btn-primary" value="重置" />
                 </div>
             </div>
         </form>
     </div>  
 </body>
 
<script type="text/javascript" src="../../assets/js/layui/layui.js"></script>
<script type="text/javascript">
    layui.cache.page = 'replycontent';
	layui.config({
		version : "1.0.1",
		base : 'js/'
    }).use('replycontent');


    function onDataLoadedCallback(data) {


    }

 

  
</script>
</html>